ComponentOne Xamarin.Android
FilterAsync<T>(ICollectionView<T>,String,FilterOperation,Object) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > FilterAsync Method : FilterAsync<T>(ICollectionView<T>,String,FilterOperation,Object) Method
The collection view.
The path of the data item to which the filter will be applied.
The filter operation.
The value used in the expression.
Filters the data using specified filter parameters.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__17`1)> 
<ExtensionAttribute()> 
Public Overloads Shared Function FilterAsync(Of T As Class)( _ 
   ByVal collectionView As ICollectionView(Of T), _ 
   ByVal filterPath As String, _ 
   ByVal filterOperation As FilterOperation, _ 
   ByVal value As Object _ 
) As Task
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim filterPath As String
Dim filterOperation As FilterOperation
Dim value As Object
Dim value As Task
 
value = ICollectionViewEx.FilterAsync(Of T)(collectionView, filterPath, filterOperation, value)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__17`1)] 
[Extension()] 
public static Task FilterAsync<T>( 
   ICollectionView<T> collectionView, 
   string filterPath, 
   FilterOperation filterOperation, 
   object value 
) 
where T: class

Parameters

collectionView
The collection view.
filterPath
The path of the data item to which the filter will be applied.
filterOperation
The filter operation.
value
The value used in the expression.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List